<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>部门列表管理</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/table.css" type="text/css" />
<script type="text/javascript" src="script/common.js"></script>

<script language="javascript" type="text/javascript">   
$import("rpc.js");
function test()
{
	var callback = function(o)
	{
		alert("分析准备就绪！");
		analysis();
		check();
	};
	var operation = new Operation("PE分析.准备分析");
	operation.execute(callback);
}

function analysis()
{
	alert("开始分析");
	var callback = function(o)
	{
		alert("分析完毕！");
	};
	var operation = new Operation("PE分析.开始分析");
	operation.execute(callback);
}
function check()
{
	var callback = function(o)
	{
		if (o.analyzerCount == 80) return;
		util.debug(o, 3);
		$("count").innerHTML = o.analyzerCount;
		setTimeout(check, 1000);
	};
	var operation = new Operation("PE分析.获取状态");
	operation.execute(callback);
}
</script>
</head>

<body>
<div id="ur_here"><img src="../public/images/icon_here.gif"
	style="align: absmiddle" align="absmiddle" /> 当前位置：首页 » 系统管理 » 组织机构管理</div>
<div id="wrap">
<div id="containaer">
指定一个待分析文件夹路径：（文件夹中不得含有非PE格式文件）<br/>
<input type="text" name="fixfolder"/>
<input type="button" value ="查找" onclick="test()" />
<table>
	<tr>
		<td id = "textarea">(<span id="count">1</span>/10)</td>
	</tr>
</table> 
</div>
</div>
</body>
</html>